package com.aaa.docter.controller;

import com.aaa.common.vo.Result;
import com.aaa.docter.dto.SchedulingDTO;
import com.aaa.docter.service.SchedulingService;
import com.aaa.docter.vo.SchedulingVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * @program: aaa-hospital-parent
 * @description:
 * @author: 闫克起
 * @create: 2024-05-24 16:45
 **/
@RestController
@RequestMapping("/docter/scheduling")
public class SchedulingController {

    @Autowired
    private SchedulingService schedulingService;


    @PostMapping("/docterScheduling")
    public Result<Map<String,Object>> docterScheduling(@RequestBody SchedulingVo schedulingVo){
        return schedulingService.docterScheduling(schedulingVo);
    }
}
